namespace testerf
{
    class erf
    {
    private:
        vector <long double> v1, v2;
        vector <long double>::reverse_iterator riter1;

        long double a;

        bool yeserfc;
        bool largeval;

        void fill(int whattofill);
        long double eval(long double z);
        inline void emptyvectors();
        long double largevalue(long double x);

    public:
        erf();
        long double geterf(long double z);
        ~erf();

    };
}
